/*
 * Copyright 2008 Jens Meiss
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License. 
 * You may obtain a copy of the License at 
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package mtt.calendar.weekview;

import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.Displayable;
import javax.microedition.lcdui.Form;

import hmvc.j2me.view.AView;

/**
 *
 *
 * @author jens.meiss
 */
public class WeekView extends AView {
	
	private Form form;
	
	private Command commandBack;
	
	private Command commandEdit;
	
	private Command commandAdd;
	
	private Command commandDelete;

	public Command getCommandAdd() {
		return commandAdd;
	}

	public Command getCommandBack() {
		return commandBack;
	}

	public Command getCommandDelete() {
		return commandDelete;
	}

	public Command getCommandEdit() {
		return commandEdit;
	}

	public Form getForm() {
		return form;
	}

	public void setCommandAdd(Command commandAdd) {
		this.commandAdd = commandAdd;
	}

	public void setCommandBack(Command commandBack) {
		this.commandBack = commandBack;
	}

	public void setCommandDelete(Command commandDelete) {
		this.commandDelete = commandDelete;
	}

	public void setCommandEdit(Command commandEdit) {
		this.commandEdit = commandEdit;
	}

	public void setForm(Form form) {
		this.form = form;
	}

	public Displayable getDisplayable() {
		return getForm();
	}

}
